<?

echo "Upload billede";
$deltager = $this->session->userdata('deltager');

echo $id;
echo br();
echo $deltager['userid'];

	?><div class="upload">
		<?
		echo form_open_multipart("core/rediger/upload_billede/".$id);
		echo form_hidden('deltager_id', $deltager['userid']);
		echo form_hidden('type', $this->uri->segment(4));
		echo form_hidden('element_id', $this->uri->segment(5));
		//echo "<h3 class='ink'>Hvad og hvem er på billedet?</h3><br>";		
		echo form_input('titel','');
		echo br(2);
		echo "<h3 class='ink'>Vælg kilde</h3>";
		echo form_upload('userfile');
		echo form_submit('upload','Upload');
		echo form_close();
		
		?>
	</div>

